package com.jl.magic.montage.tessera;

import com.jl.magic.montage.config.AbstractInlayConfig;
import com.jl.magic.montage.model.Inlay;

import java.io.File;
import java.util.List;

/**
 * @author jiangli
 * @create 2020/7/14 3:54 下午
 */
public abstract class AbstractInlayHandler {

    /**
     * 镶元图片文件列表
     */
    protected List<File> files;

    /**
     * 镶元图片配置
     */
    protected AbstractInlayConfig inlayConfig;

    /**
     * 镶元图片是否压缩
     */
    protected boolean compressed;

    /**
     * 镶元图片处理
     *
     * @return 镶元图片列表
     */
    public abstract List<Inlay> handleInlay();

    public List<File> getFiles() {
        return files;
    }

    public void setFiles(List<File> files) {
        this.files = files;
    }

    public AbstractInlayConfig getInlayConfig() {
        return inlayConfig;
    }

    public void setInlayConfig(AbstractInlayConfig inlayConfig) {
        this.inlayConfig = inlayConfig;
    }

    public boolean isCompressed() {
        return compressed;
    }

    public void setCompressed(boolean compressed) {
        this.compressed = compressed;
    }

}
